package com.youngjun.user.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.youngjun.common.pojo.vo.support.BaseVO;

public class AddressVO extends BaseVO<AddressVO> {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long provinceId;

    private String provinceName;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long cityId;

    private String cityName;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long districtId;

    private String districtName;

    private String detailAddress;

    public Long getId() {
        return id;
    }

    public AddressVO setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public AddressVO setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
        return this;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public AddressVO setProvinceName(String provinceName) {
        this.provinceName = provinceName;
        return this;
    }

    public Long getCityId() {
        return cityId;
    }

    public AddressVO setCityId(Long cityId) {
        this.cityId = cityId;
        return this;
    }

    public String getCityName() {
        return cityName;
    }

    public AddressVO setCityName(String cityName) {
        this.cityName = cityName;
        return this;
    }

    public Long getDistrictId() {
        return districtId;
    }

    public AddressVO setDistrictId(Long districtId) {
        this.districtId = districtId;
        return this;
    }

    public String getDistrictName() {
        return districtName;
    }

    public AddressVO setDistrictName(String districtName) {
        this.districtName = districtName;
        return this;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public AddressVO setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
        return this;
    }
}
